package cn.zmwh.im.server.constant;

public class BsKImConstant {

    private BsKImConstant() {
    }


    /**
     * 在线状态过期时间 600s
     */
    public static final long ONLINE_TIMEOUT_SECOND = 600;
    /**
     * 消息允许撤回时间 300s
     */
    public static final long ALLOW_RECALL_SECOND = 300;


    public static class CHANNEL_ATTR_KEY {
        private CHANNEL_ATTR_KEY() {
        }

        /**
         * 用户ID
         */
        public static final String USER_ID = "user_id";
        /**
         * 终端类型
         */
        public static final String TERMINAL_TYPE = "terminal_type";
        /**
         * 心跳次数
         */
        public static final String HEARTBEAT_TIMES = "heartbeat_times";
    }

    public class DbName {
        public static final String IM_MESSAGE = "bs_k_im_db";//消息库

    }
}

